Keyboard does not work due to bad cables or adapters.
Cause:
Either the keyboard extension cable or the keyboard adapter located on the actual keyboard cable is bad.
Solution:
Replace the extension cable or adapter with a new one.